package com.tangqihang229350526.mynote.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class RegisterViewModel: ViewModel() {
    private val isRegisterOk: MutableLiveData<Boolean> = MutableLiveData()

    fun isRegisterOk(): LiveData<Boolean> {
        return isRegisterOk
    }

    fun setIsRight(v: Boolean) {
        isRegisterOk.value = v
    }
}